#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "mycoin.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
//    explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);
    void paintEvent(QPaintEvent *);
    int gameArray[4][4]; // 二维数组，维护内个关卡的具体数据
    MyCoin *coinBtn[4][4];

    int levelNum;
    bool isWin; // 判断是否胜利

signals:
    void chooseSceneBack();
};

#endif // PLAYSCENE_H
